<?php
if(!ob_start("ob_gzhandler")) ob_start();
?>
<html>
	<head>
		<title></title>
		<link rel = "stylesheet" type = "text/css" href = "gamesStyle.css">
		<script type="text/javascript" src="jquery-1.7.js"></script>
		<script type = 'text/javascript' src = 'jquery-ui-1.8.16.custom.min.js'></script>
	</head>
	<body id = "theGamesBody">
		<div id = "gamesContainer">
			<div class = "game" id = "astro">
				<img src = "Games/astrokid/150x110.gif"><br>
				<div class = "gameTitle">
					Astrokid
				</div>
			</div>
			<div class = "game" id = "bongo">
				<img src = "Games/bongoballs/150x110.gif"><br>
				<div class = "gameTitle">
					Bongo Balls
				</div>
			</div>
			<div class = "game" id = "bounce">
				<img src = "Games/bounce/150x110.gif"><br>
				<div class = "gameTitle">
					Bounce
				</div>
			</div>
			<div class = "game" id = "earl">
				<img src = "Games/earlgrey/130x95.gif" id = "small"><br>
				<div class = "gameTitle">
					Earl Grey
				</div>
			</div>
			<div class = "game" id = "lucky">
				<img src = "Games/luckyboot/150x110.gif"><br>
				<div class = "gameTitle">
					Lucky Boot
				</div>
			</div>
			<div class = "game" id = "monkey">
				<img src = "Games/monkeyjump/150x110.gif"><br>
				<div class = "gameTitle">
					Monkey Jump
				</div>
			</div>
			<div class = "game" id = "pacman">
				<img src = "Games/pacmanadv/150x110.gif"><br>
				<div class = "gameTitle">
					Pacman Advanced
				</div>
			</div>
			<div class = "game" id = "pizza">
				<img src = "Games/pizzapronto/150x110.gif"><br>
				<div class = "gameTitle">
					Pizza Pronto
				</div>
			</div>
			<div class = "game" id = "quest">
				<img src = "Games/questforpower/150x110.gif"><br>
				<div class = "gameTitle">
					Quest for Power
				</div>
			</div>
			<div class = "game" id = "lander">
				<img src = "Games/rescuelander/150x110.gif"><br>
				<div class = "gameTitle">
					Rescue Lander
				</div>
			</div>
			<div class = "game" id = "snaket">
				<img src = "Games/snaket/150x110.gif"><br>
				<div class = "gameTitle">
					Snaket
				</div>
			</div>
			<div class = "game" id = "super">
				<img src = "Games/superbikeride/150x110.gif"><br>
				<div class = "gameTitle">
					Super Bike Ride
				</div>
			</div>
			<div class = "game" id = "mario">
				<img src = "Games/Mario/150x110.gif"><br>
				<div class = "gameTitle">
					Super Mario Crosover
				</div>
			</div>
		</div>
		<script>
			$("#astro").click(function()
			{
				$("#gamesContainer").html("<h1>Astrokid</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='640' height='480'><param name='movie' value='astrokid.swf'><param name='quality' value='high'><embed src='astrokid.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='390'></embed></object>");	
			});
			$("#bongo").click(function()
			{
				$("#gamesContainer").html("<h1>Bongo Balls</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='600' height='400'><param name='movie' value='bongoballs.swf'><param name='quality' value='high'><embed src='bongoballs.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='400'></embed></object>");
			});
			$("#bounce").click(function()
			{
				$("#gamesContainer").html("<h1>Bounce</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='550' height='400'><param name='movie' value='bounce.swf'><param name='quality' value='high'><embed src='bounce.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='400'></embed></object>");
			});
			$("#earl").click(function()
			{
				$("#gamesContainer").html("<h1>Earl Grey</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='800' height='350'><param name='movie' value='earl-grey.swf'><param name='quality' value='high'><embed src='earl-grey.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='400'></embed></object>");
			});
			$("#lucky").click(function()
			{
				$("#gamesContainer").html("<h1>Lucky Boot</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='550' height='400'><param name='movie' value='luckyboot.swf'><param name='quality' value='high'><embed src='luckyboot.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='400'></embed></object>");
			});
			$("#monkey").click(function()
			{
				$("#gamesContainer").html("<h1>Monkey Jump</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='640' height='480'><param name='movie' value='monkeyjump.swf'><param name='quality' value='high'><embed src='monkeyjump.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='480'></embed></object>");
			});
			$("#pacman").click(function()
			{
				$("#gamesContainer").html("<h1>Pacman Advanced</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='600' height='400'><param name='movie' value='pacmanadv.swf'><param name='quality' value='high'><embed src='pacmanadv.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='400'></embed></object>");
			});
			$("#pizza").click(function()
			{
				$("#gamesContainer").html("<h1>Pizza Pronto</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='720' height='520'><param name='movie' value='pizzapronto.swf'><param name='quality' value='high'><embed src='pizzapronto.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='520'></embed></object>");
			});
			$("#quest").click(function()
			{
				$("#gamesContainer").html("<h1>Quest for Power</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='700' height='500'><param name='movie' value='questforpower.swf'><param name='quality' value='high'><embed src='questforpower.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='500'></embed></object>");
			});
			$("#lander").click(function()
			{
				$("#gamesContainer").html("<h1>Resque Lander</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='600' height='400'><param name='movie' value='rescuelander.swf'><param name='quality' value='high'><embed src='rescuelander.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='400'></embed></object>");
			});
			$("#snaket").click(function()
			{
				$("#gamesContainer").html("<h1>Snaket</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='700' height='510'><param name='movie' value='snaket.swf'><param name='quality' value='high'><embed src='snaket.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='510'></embed></object>");
			});
			$("#super").click(function()
			{	
				$("#gamesContainer").html("<h1>Super Bike Ride</h1><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='640' height='500'><param name='movie' value='superbikeride.swf'><param name='quality' value='high'><embed src='superbikeride.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='500'></embed></object>");
			});
			$("#mario").click(function()
			{
				$("#gamesContainer").html("<h1>Super Mario Crosover</h1><embed src='mario.swf' quality='hight' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='550' height='500'></embed>");
			});
		</script>
	</body>
</html>
		